let conf = {
	UserInfo: {},
	isCollapse:true
}

let env = process.env.NODE_ENV

let envConf
if (env == 'test') {
	envConf = require('./test.env')
} else if (env == 'prod') {
	envConf = require('./prod.env')
} else {
	envConf = require('./dev.env')
}

let constant = require('./constant')
conf = Object.assign(conf, constant)

module.exports = Object.assign(conf, envConf)
